// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';


// 获取所有预约
export const getArticleList = (params) => {
    return getRequest('/article/getArticleList', params)
}

// 获取文章详情信息
export const getArticleDetail = (params) => {
    return getRequest('/article/getArticleDetail', params)
}

// 删除文章
export const deleteArticle = (params) => {
    return postRequest('/article/deleteArticle', params)
}

// 删除评论
export const deleteComment = (params) => {
    return postRequest('/shopcomment/deleteComment', params)
}


